package com.p2p.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统账户表
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Systemaccount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统账户ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 起始日期
     */
    @TableField("beginDate")
    private LocalDateTime begindate;

    /**
     * 截止日期
     */
    @TableField("endDate")
    private LocalDateTime enddate;

    /**
     * 创建时间
     */
    private LocalDateTime createdate;

    /**
     * 总余额
     */
    private BigDecimal totalbalance;

    /**
     * 冻结金额
     */
    private BigDecimal freezedamount;


}
